e21a0475c9bff763c07abc708ac076bc5c62c8b3,status-printer/src/main/java/org/apache/felix/status/impl/AbstractWebConsolePlugin.java,ZipConfigurationWriter,printStatus,#PrinterMode#StatusPrinterHandler#,431

Before Change


            super.printStatus(mode, handler);
            final String title = getFormattedTitle(handler.getTitle());
            handler.addAttachments(title.concat("/"), this.zip);
            if ( handler.supports(PrinterMode.JSON) ) {
                final String name = "json/".concat(title).concat(".json");

                final ZipEntry entry = new ZipEntry( name );

After Change


                flush();

                zip.closeEntry();
                if ( !handler.supports(PrinterMode.ZIP_FILE_BIN) ) {
                    handler.addAttachments(title.concat("/"), this.zip);
                }
            }